package com.ruoyi.prod.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.prod.entity.po.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 维修管理-维修申请-条目明细
 * </p>
 *
 * @author 强子初
 * @since 2023-03-09
 */
@Getter
@Setter
@TableName("prod_repair_item")
@ApiModel(value = "ProdRepairItem对象", description = "维修管理-维修申请-条目明细")
public class ProdRepairItem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("资产id")
    @TableField("asset_id")
    private String assetId;

    @ApiModelProperty("维修申请id")
    @TableField("repair_id")
    private String repairId;

    @ApiModelProperty("维修单号")
    @TableField("repair_odd")
    private String repairOdd;

    @ApiModelProperty("资产名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("资产分类")
    @TableField("asset_type_name")
    private String assetTypeName;

    @ApiModelProperty("规格型号")
    @TableField("model")
    private String model;

    @ApiModelProperty("维修状态")
    @TableField("repair_state")
    private String repairState;
}
